<!-- $Id: cacheManager.html 39 2011-02-19 17:01:51Z nicholasinlove1986@gmail.com $ -->
<include file="Public:pageheader"/>
<load href="__PUBLIC__/Js/jquery.tableSort.js" />
<present name='warning'>
<ul style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
  <li style="border: 1px solid #CC0000; background: #FFFFCC; padding: 10px; margin-bottom: 5px;" >{$warning}</li>
</ul>
</present>
<div class="list-div" id="listDiv">
<table id="list-table" cellpadding="3" cellspacing="1">
  <tbody>
    <tr>
      <th>{$Think.lang.cache_name}</th>
	  <th><a href="javascript:$('#list-table').sortTable({onCol: 2, keepRelationships: true})" title="{$Think.lang.sort}">{$Think.lang.cache_file}</a><img src="__PUBLIC__/Images/sort_asc.gif"/></th> 
      <th>{$Think.lang.cache_addtime}</th>
	  <th><a href="javascript:$('#list-table').sortTable({onCol: 4, keepRelationships: true, sortType: 'numeric'})" title="{$Think.lang.sort}">{$Think.lang.cache_size}</a><img src="__PUBLIC__/Images/sort_asc.gif"/></th> 
      <th>{$Think.lang.handler}</th>
    </tr>
    <volist name="list" id="vo">
      <tr>
        <td style="background-color: rgb(255, 255, 255);" class="first-cell" align="left" width="25%">{$vo.name}</td>
        <td style="background-color: rgb(255, 255, 255);"  align="left" width="20%">{$vo.file_name}</td>
        <td style="background-color: rgb(255, 255, 255);" align="center" width="20%">{$vo.add_time}</td>
        <td style="background-color: rgb(255, 255, 255);" align="center" width="15%">{$vo.file_size}</td>
        <td style="background-color: rgb(255, 255, 255);" align="center"><a href="__APP__/Maintenance/reCache/n/{$vo.n}" title="{$Think.lang.update}">{$Think.lang.update}</a> | <a href="__APP__/Maintenance/cacheDetails/n/{$vo.n}" title="{$Think.lang.details}">{$Think.lang.details}</a> </td>
      </tr>
    </volist>
  </tbody>
</table>
<div class="button-div">
<center>
<form method="post" action="__URL__/reAllCache" name="theForm">
<input value="{$Think.lang.cache_update_all}" class="button" type="submit">
<input name="act" value="do" type="hidden">
</form>
</center>
</div>
</div>
<include file="Public:pagefooter"/> 